Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added feature with maintenance mode on store-api.pwa.cms-page-resolve route #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

meeshoogendoorn
Copy link

Added maintenance mode functionality to store-api pwa-page route which will return a 503 temporarily unavailable or under construction when maintenance mode is enabled in Shopware 6.

Features:

  • Maintenance mode for shopware-pwa
  • Bypass maintenance mode with whiteListIps

@meeshoogendoorn
Copy link
Author

maybe to be sure it's a good practice to give the whole store-api a maintenance mode check so it even works on the normal pages that are native in shopware-pwa and not from cms.

i think 99% of the time these pages need data from Shopware 6 so 503 return will be thrown when in maintenance mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant